package com.mk.legoscans2;

import android.util.Log;
import android.view.GestureDetector;
import android.view.MotionEvent;

public class LoggingGestureListener extends GestureDetector.SimpleOnGestureListener{
	@Override
	public boolean onSingleTapUp(MotionEvent e) {
		Log.d("onSingleTapUp",e.toString());
		return false;
	}
	
	@Override
	public void onShowPress(MotionEvent e) {
		Log.d("onShowPress",e.toString());
	}
	
	@Override
	public void onLongPress(MotionEvent e) {
		Log.d("onLongPress",e.toString());
	}
	
	@Override
	public boolean onScroll(MotionEvent e1, MotionEvent e2, float distanceX, float distanceY) {
		Log.d("onScroll",e1.toString());
		return false;
	}
	
	@Override
	public boolean onDown(MotionEvent e) {
		Log.d("onDownd",e.toString());
		return false;
	}
	
	@Override
	public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) {
		Log.d("d",e1.toString());
		Log.d("e2",e2.toString());
		return true;
	}
}
